<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_2805018_32h9irf2jd5.css">
    <style>
        div{
            width: 300px;
            height: 300px;
            border: 1px solid red;
            margin: 50px auto;
            text-align: center;
            overflow: hidden;
        }
        span{
            display: block;
            width: 150px;
            height: 150px;
            margin:80px auto;
            transition: 0.6s;
        }
        .icon-fangzi1{
            font-size: 90px;
            transition: 0.6s;
        }
        span:hover{
            transform: rotate(360deg);
        }
    </style>
</head>
<body>
    <div>
        <span class="iconfont icon-fangzi1"></span>
    </div>
</body>
</html>